EXTRA_DIST = \
	Makefile.mingw

pkgdir = @PURPLE_PLUGINDIR@

MXITSOURCES = \
	actions.c \
	actions.h \
	chunk.c \
	chunk.h \
	cipher-mxit.c \
	cipher-mxit.h \
	client.c \
	client.h \
	filexfer.c \
	filexfer.h \
	formcmds.c \
	formcmds.h \
	login.c \
	login.h \
	markup.c \
	markup.h \
	multimx.c \
	multimx.h \
	mxit.c \
	mxit.h \
	profile.c \
	profile.h \
	roster.c \
	roster.h \
	splashscreen.c \
	splashscreen.h


AM_CFLAGS = $(st)

libmxit_la_LDFLAGS = -module @PLUGIN_LDFLAGS@

if STATIC_MXIT

st = -DPURPLE_STATIC_PRPL
noinst_LTLIBRARIES = libmxit.la
libmxit_la_SOURCES  = $(MXITSOURCES)
libmxit_la_CFLAGS   = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES   = libmxit.la
libmxit_la_SOURCES = $(MXITSOURCES)
libmxit_la_LIBADD  = @PURPLE_LIBS@

endif

AM_CPPFLAGS = \
	-I$(top_srcdir)/libpurple \
	-I$(top_builddir)/libpurple \
	$(GLIB_CFLAGS) \
	$(GPLUGIN_CFLAGS) \
	$(DEBUG_CFLAGS)
